<?php
/**
 * 测试
 */
namespace app\controllers;

use Yii;
use yii\base\Controller;
use app\service\data\Task;

/**
 */
class TestController extends Controller
{
    public function actionTemp()
    {
       $task=new Task();
       $uid=5;
       $taskinfo=[
           "task_id"=>7,
            'title'=>'dd',
           "remark"=>"ddd"
       ];
       $res=$task->sendTempMsg($uid, $taskinfo);
       
       var_dump($res);
    }
}